Better window resizing on iPadOS

Better window resizing on iPadOS

Currently, on iPadOS, the app is stuck on either "mobile layout" or "desktop layout" based on the initial launch window size. If you try to resize the window, it won't resize properly/responsively.

For example, launch Mochi in "compact" layout first, wait until it finishes loading, and then resize to full screen gets you a "blown-up compact" layout.

Vice versa, launch Mochi in full-screen and then try to downsize it, it'll end up breaking many UI interactions (e.g. hamburger menu doesn't come out, etc..)